//
//  TestAPIManager.swift
//  YCNetworking
//
//  Created by YC on 2017/3/1.
//  Copyright © 2017年 YC. All rights reserved. mail:yangchong364@qq.com
//

import UIKit

class TestAPIManager: YCBaseAPIManager, YCAPIManager, YCAPIManagerValidator {
    
    override init() {
        super.init()
        self.validator = self;
    }
    
    var methodName: String { return "Login" }
    var serviceType: String  { return Services.login }
    var requestType: YCAPIManagerRequestType { return .post };
    var shouldCache: Bool { return false }
    
    func manager(_ manager: YCBaseAPIManager, isCorrectWithCallBack data: Any) -> Bool {
        return true
    }
    
    func manager(_ manager: YCBaseAPIManager, isCorrectWithParams data: Dictionary<String, Any>) -> Bool {
        return true
    }
    
}
